import request from "@/utils/request";

/**
 * 请求二维码信息
 * @param params
 * @returns {*}
 */
export function qrcodeGet(params) {
  return request.post("/temporarySeal/qrcodeGet", params);
}

/**
 * 获取用户和印章信息
 * @param params
 * @returns {*}
 */
export function getUser(params) {
  return request.get("/temporarySeal/getUser", params);
}

/**
 * @description 请求获取文件
 * @param {string}  username
 * @param {string}  password
 * @returns {string} token
 */

export function getFiles() {
  return request.get("/temporarySeal/getFiles");
}

/**
 * 批量盖章
 * @param {string}  appid
 * @param {string} salt
 * @param {string} sealCode
 * @returns {*}
 */
export function batchSignByEsId(params) {
  return request.get("/temporarySeal/batchSignByEsId", params);
}
